Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible?
3244
20-May-2011
Updated on 21-Sep-2020
Anonymous User
20-May-2011There is nothing like Virtual Constructor. The constructor can’t be virtual as the constructor is a code which is responsible for creating an instance of a class and it can’t be delegated to any other object by virtual keyword means.